package lang;

import java.util.ArrayList;
import java.util.HashMap;

import org.nutz.lang.Lang;

public class ArrayPractice {

	public static void main(String[] args) {
		ArrayList<Integer> arrayList=new ArrayList<Integer>();
		ArrayList<Integer> arrayList2=new ArrayList<Integer>();
		HashMap<String, Integer> hashMap=new HashMap<String, Integer>();
		int[] a={1,2,3,4,5,6,7,8};
		for (int i : a) {
			arrayList.add(i);
			arrayList2.add(i);
			hashMap.put(""+i, i);
		}
		System.out.println(Lang.equals(arrayList, hashMap));
	}
}
